a9f3e0428e9fd0f580105955dce391f0fec12cfa,src/org/opencms/mail/CmsSimpleMail.java,CmsSimpleMail,send,#,111

Before Change


                throw new EmailException(sfe);
            }
        } catch (MessagingException e) {
            LOG.error(Messages.get().getBundle().key(Messages.LOG_MESSAGE_ID_ERR_0), e);
        }
        return messageID;
    }

After Change


                throw rte;

            } else {
                CmsRuntimeException rte = new CmsRuntimeException(Messages.get().container(
                    Messages.ERR_SEND_EMAIL_CONFIG_0));
                rte.initCause(e);
                throw rte;
            }
        }
        return messageID;